<?php
/**
 * Created by PhpStorm.
 * User: zhanghua
 * Date: 2018/9/21
 * Time: 17:57
 */

namespace app\dlc\model;

use think\Model;

class Admin extends Model
{
    public function roles()
    {
        return $this->belongsToMany('AdminRole', "admin_role_relation", 'role_id', 'admin_id');
    }





}